home *** CD-ROM | disk | FTP | other *** search
/ Merciful 2 / Merciful - Disc 2.iso / software / d / dungeonmasterii1.dms / dungeonmasterii1.adf / DM2_unarc_scpt < prev    next >
AmigaDOS Script File  |  1995-07-20  |  489b  |  36 lines

  1. .key dest_dir/a,arc_prog/a,arc_name/a,opt1,opt2,opt3,opt4
  2. .bra {
  3. .ket }
  4.  
  5. failat 31
  6.  
  7. cd {dest_dir}
  8. if error
  9.     setenv installer-result 10
  10.     skip SCPT_EXIT
  11. else
  12.     if warn
  13.         setenv installer-result 5
  14.         skip SCPT_EXIT
  15.     else
  16.         setenv installer-result 0
  17.     endif
  18. endif
  19.  
  20. {arc_prog} x {arc_name}
  21. if error
  22.     setenv installer-result 10
  23. else
  24.     if warn
  25.         setenv installer-result 5
  26.     else
  27.         setenv installer-result 0
  28.     endif
  29. endif
  30.  
  31.  
  32. lab SCPT_EXIT
  33.  
  34. ; EOF
  35.  
  36.